home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Games / Doom / ADoom-0.8 / ADoom_src / mmu.h < prev    next >
C/C++ Source or Header  |  1998-06-24  |  543b  |  29 lines

  1. /*
  2.  *  mmu.h - 040/060 MMU handling
  3.  *  by Aki Laukkanen
  4.  *
  5.  *  This file is public domain.
  6.  */
  7.  
  8. #include "macros.h"
  9.  
  10. /*
  11.  * cachemodes
  12.  */
  13.  
  14. #define CM_IMPRECISE ((1<<6)|(1<<5))
  15. #define CM_PRECISE   (1<<6)
  16. #define CM_COPYBACK  (1<<5)
  17. #define CM_WRITETHROUGH 0
  18. #define CM_MASK      ((1<<6)|(1<<5))
  19.  
  20.  
  21. /*
  22.  * functions
  23.  */
  24.  
  25. extern UBYTE REGARGS mmu_mark (REG(a0, void *start),
  26.                                REG(d0, ULONG length),
  27.                                REG(d1, ULONG cm),
  28.                                REG(a6, struct ExecBase *SysBase));
  29.